package org.example.dao.impl;

import org.example.dao.MonkeyDao;
import org.springframework.stereotype.Repository;

@Repository
public class MonkeyDaoImpl implements MonkeyDao {
    @Override
    public String findName(int id, String passwd) {
        System.out.println("MonkeyDaoImpl-findName-id:" + id + ",passwd:" + passwd);
        //if (true) throw new NullPointerException();
        return "root";
    }
}
